﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace System.Models.Models
{
    /// <summary>
    /// 留言板信息表
    /// </summary>
    [Table("T_Message_Board")]
    public class MessageBoard:BaseEntity
    {
        /// <summary>
        /// 留言内容
        /// </summary>
        [Required, Column(TypeName = "varchar"), StringLength(255)]
        public string MessageText { get; set; }
        /// <summary>
        /// 留言时间
        /// </summary>
        [Column(TypeName = "varchar"), StringLength(100)]
        public string MessageName { get; set; }
    }
}
